update ma input file