updating the routing