#3 update widget based on UI