update flight calculation