added edit to survey and editing