edit routes and home index