Update the widget