updates routes for viewer edit and new