update class table