updated survey controller, js, and model