Update class.Database.php