fix update in base class