update config data before each run, fix #1