src/Query/Builder.php
public function update($id, $document  = null)
    {
        return Parser::update($id, $document, $this->connection);
    }
public function update($id, $document  = null)
    {
        return Parser::update($id, $document, $this->connection);
    }
public function update ( $ id , $ document = null ) { return Parser :: update ( $ id , $ document , $ this -> connection ) ; }
Update document by it's "_id".

@param  string  $id
@param  mixed  $document
@return \Clusterpoint\Response\Single
Update document by it s _id .