update config with version number