chenge class in template