updating the router