update app.config when press ctrl+c to increase performance