replace-map changes