Update AbstractDatabase.php