class ref update