update config class