Update includes/classes/class.database.php