update flight_info and train_info update rule by cost