update some routes and views