Change configuration files and do some upgrades