updated routes and views