update class using mustache