modify the router.