public function replaceCollection(array $data, $id, array $options = [])
    {
        $this->setOptions($options);
        $coll = new Collection($this->client, $this->database);
        $coll->setHeaders($this->getHeaders());
        $rs = $coll->replace($data, $id);
        $this->checkResponse($rs);
        unset($rs['_curl_info']);

        return $rs;
    }