public function updateRow($id, array $data) : void
    {
        $this->crudEnabled();

        // Generate the values
        $components = $this->dbc->generateParameterizedComponents($data);
        $table_name = static::$table_name;
        $id_column = static::$id_column;
        $fields = $components['update'];
        $params = $components['params'];
        $params[':key'] = $id;

        // Execute the query
        $sql = "UPDATE {$table_name} SET {$fields} WHERE {$id_column} = :key";
        $this->dbc->query($sql, ['params' => $params]);
    }