update class details