update class defs