edit routes for session