change method addTicket,  updateTicket  TicketDAO and   addFlight,  updateFlight FlightDAO