return value for widget update