Updated query to get question type
ENH: editing of surveys works
BUG: old surveys weren't getting replaced