update entities mapping