removed extra code from update_values.js.erb