integrate entities, addEntities, setEntities, removeEntities