modifying all the mappings of related resources