code: public function updateResource($name, $identifier, array $fields = [])
      {
          $this->lastRequest = new Request();
          $this->lastRequest->setMode(Request::MODE_UPDATE);
          $this->lastRequest->setResourceName($name);
          $this->lastRequest->setIdentifier($identifier);
          $this->lastRequest->setFields($fields);
  
          $response = $this->proceed();
  
          return $response;
      }
docs: Update resource
  
  @param string $name       Name
  @param int    $identifier Identifier
  @param array  $fields     Fields
  
  @return Response\Data