update class name in template