added updates to viewSurvey