update data base class