Update class.db.php