function updateContent($entryId, KalturaResource $resource, $conversionProfileId = null)
 {
     $kparams = array();
     $this->client->addParam($kparams, "entryId", $entryId);
     $this->client->addParam($kparams, "resource", $resource->toParams());
     $this->client->addParam($kparams, "conversionProfileId", $conversionProfileId);
     $this->client->queueServiceActionCall("media", "updateContent", $kparams);
     if ($this->client->isMultiRequest()) {
         return null;
     }
     $resultObject = $this->client->doQueue();
     $this->client->throwExceptionIfError($resultObject);
     $this->client->validateObjectType($resultObject, "KalturaMediaEntry");
     return $resultObject;
 }