update config structure