changing the way updatewid returns data for testing