Update entities
Merge entity manager