update class in survey change template