Update flights with class and number of tickets, and serialize