renamed a resource