added config update logic to check for version code against config file number