updating the routes to have via