Rebuilding the navigation data after adding a nav link proxy from code

I was wondering if I need to force a rebuild of the navigation data after I add a nav link proxy to the level from code. Is it necessary or would the system update on its own dynamically?

Cheers!