update widgets.