update subclass