Update class.DATABASE.php