update onflight