Update mapping of entities