public function updateHook($project_id, $hook_id, array $params) { return $this->put($this->getProjectPath($project_id, 'hooks/' . $this->encodePath($hook_id)), $params); }