updating the routes