added routes and views for editing a survey