public function update($id, $url, $description = NULL, array $events = array()){
        return $this->request('update', array(
            'id' => $id,
            'url' => $url,
            'description' => $description,
            'events' => $events
        ));
    }
public function update($id, $url, $description = NULL, array $events = array()){
        return $this->request('update', array(
            'id' => $id,
            'url' => $url,
            'description' => $description,
            'events' => $events
        ));
    }
public function update ( $ id , $ url , $ description = NULL , array $ events = array ( ) ) { return $ this -> request ( 'update' , array ( 'id' => $ id , 'url' => $ url , 'description' => $ description , 'events' => $ events ) ) ; }
Update an existing webhook
@param int $id the unique identifier of a webhook belonging to this account
@param string $url the URL to POST batches of events
@param string $description an optional description of the webhook
@param string[] $events an optional list of events that will be posted to the webhook
valid events: send, hard_bounce, soft_bounce, open, click, spam, unsub, reject
@return array
@link https://mandrillapp.com/api/docs/webhooks.JSON.html#method=update
Update an existing webhook