# What was the problem?
When upgrading from 1.0.0 to 1.0.1, the version in config.json stayed as 1.0.0. Looks like minVersion is affected as well
### How did I fix it?
Made a slight modification to update_config.js so that version and minVersion are always taken from the new config
### How to test it?
When running 1.0.0, upgrade to 1.0.1:
— bash installLisk.sh upgrade -r test
### Review checklist
* The PR solves #2340
You can view, comment on, or merge this pull request online at:
— Commit Summary —
* Unconditionally keep version/minVersion from new config file when migrating a config
— File Changes —
M scripts/update_config.js (8)
— Patch Links —