update the mappings from the api data to the indexable data