small tweak for widget update