src/Repositories/ResourceRepository.php
public function update(array $data = [])
    {
        $this->setActionUri(__FUNCTION__);

        $response = $this->client->post($this->uri, [
            'multipart' => $this->dataToMultipart($data),
        ]);

        return $this->responseToJson($response);
    }
public function update(array $data = [])
    {
        $this->setActionUri(__FUNCTION__);

        $response = $this->client->post($this->uri, [
            'multipart' => $this->dataToMultipart($data),
        ]);

        return $this->responseToJson($response);
    }
Update a new resource
@param array $data
@return array