Update the registered routes.
updateRegisteredRoutes(Map<String, NyRouterRoute> router) { _routeNameMappings = router; }