public function update($hashValue = null, $rangeValue = null)
    {
        $this->setQueryClass(UpdateItem::class);

        if ($hashValue !== null) {
            $this->setPrimaryKey($hashValue, $rangeValue);
        }

        return $this;
    }