Updateresourcedefinition

Updates a resource definition.