updated routes and view