update the input file format