updates to entity database