Rename a resource and create the new one with same name as old one