update for widget