renaming resource by map-from