modified updatewid