modify base class of entity