Added functions UpdateFlight and AddFlight