/**
  * Update an existing KalturaDrmProfile object
  * 	 
  * 
  * @return \Kaltura\Client\Plugin\Drm\Type\DrmProfile
  */
 function update($drmProfileId, \Kaltura\Client\Plugin\Drm\Type\DrmProfile $drmProfile)
 {
     $kparams = array();
     $this->client->addParam($kparams, "drmProfileId", $drmProfileId);
     $this->client->addParam($kparams, "drmProfile", $drmProfile->toParams());
     $this->client->queueServiceActionCall("drm_drmprofile", "update", "KalturaDrmProfile", $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = \Kaltura\Client\ParseUtils::unmarshalObject($resultXmlObject->result, "KalturaDrmProfile");
     $this->client->validateObjectType($resultObject, "\\Kaltura\\Client\\Plugin\\Drm\\Type\\DrmProfile");
     return $resultObject;
 }