updating widget config class