Save new values when a widget is updated