public function update(array $values): self
    {
        $this->apiClient->update($this->uri, $values);

        return $this;
    }
public function update(array $values): self
    {
        $this->apiClient->update($this->uri, $values);

        return $this;
    }
public function update ( array $ values ) : self { $ this -> apiClient -> update ( $ this -> uri , $ values ) ; return $ this ; }
Writes multiple values to the database at once.

The values argument contains multiple property/value pairs that will be written to the database together.
Each child property can either be a simple property (for example, "name"), or a relative path
(for example, "name/first") from the current location to the data to update.

As opposed to the {@see set()} method, update() can be use to selectively update only the referenced properties
at the current location (instead of replacing all the child properties at the current location).

Passing null to {see update()} will remove the data at this location.

@see https://firebase.google.com/docs/reference/js/firebase.database.Reference#update

@param array $values

@throws ApiException if the API reported an error

@return Reference
Writes multiple values to the database at once .