edit controller + routes