changed the URIs of the edit and view routes