updates for the id mapping