add upgrade method to ConfigParser
extend update_config to overwrite values
Merge pull request #2288 from kived/config-upgrade

add upgrade method to ConfigParser