Update SQLCore.php