routes and partials upgrade