update CG new final mission write files