updates entity mappings