edit routes and actions