update class chart