updating input file