src/IdentityModel.php
public function update(int $id, array $values): bool
    {
        if (isset($values['password'])) {
            if ($values['password']) {
                $values['hash'] = $this->getHash($values['password']);  // auto hash password
            }
            unset($values['password']);
        }

        $res = (bool) $this->connection->update($this->tableIdentity, $values)->where([self::COLUMN_ID => $id])->execute();
        return $res;
    }
public function update(int $id, array $values): bool
    {
        if (isset($values['password'])) {
            if ($values['password']) {
                $values['hash'] = $this->getHash($values['password']);  // auto hash password
            }
            unset($values['password']);
        }

        $res = (bool) $this->connection->update($this->tableIdentity, $values)->where([self::COLUMN_ID => $id])->execute();
        return $res;
    }
Update.

@param int   $id
@param array $values
@return bool
@throws \Dibi\Exception