protected function put($uri)
    {
        if (is_null($uri)) {
            throw new common_exception_BadRequest('Update method requires an uri parameter');
        }
        if (!($this->getCrudService()->isInScope($uri))) {
            throw new common_exception_PreConditionFailure("The URI must be a valid resource under the root Class");
        }
        $parameters = $this->getParameters();
        try {
            return $this->getCrudService()->update($uri, $parameters);
        } catch (common_exception_PreConditionFailure $e) {
            throw new common_exception_RestApi($e->getMessage());
        }
    }