Renames resource