update class image