update input file and upload parser.cpp