public function updateRecord($recId, $data)
    {
        if (empty($recId)) {
            throw new \Exception('No record ID specified');
        }
        $this->primeCommandArray();
        $this->addToCommandArray($data);
        $this->addToCommandArray(['-recid' => $recId]);
        $this->addToCommandArray(['-edit' => null]);
        return $this;
    }