update appconfig file