public function update($id, $data) { $response = $this->curl->patch('/documents/' . $id, $data); return $response; }