update class ref