adds routes for creating and updating a survey
fixed merge conflicts