update flight plugin