Modified surveycontroller so that it can modify surveys.