update class references