renaming resource.