update flight control