update input file