function update($drmProfileId, Kaltura_Client_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_Drm_Type_DrmProfile");
     return $resultObject;
 }