fixed updatewid, different scenarios