Modify mappings for diff