major changes to updatewid getwid

ag1 2 passing