update class,and cs