Edit routes and layout