updating the information about the widget