modifications to structure of surveys table