update for base entity