update routes and view partials