Rename the resources.