updates number of widgets expected