update class reference