New database update system that uses the database structure defined in dbstructure.php