able to save survey to database