public function updateRow($query = null, $params = [])
{
$result = $this->link->prepare($query);
$result->execute($params);
}
$db->updateRow('UPDATE ' . Config::DB_TABLE . ' SET `User` = :User WHERE `id` = :id', [
'id' => $row['id'],
'User' => $User
]);