updated config class