python flight post update