Update flights_controller.rb