changed the widget type