public function updateHook($hook_id, array $params) { $hook = new ProjectHook($this, $hook_id, $this->getClient()); return $hook->update($params); }