changing updatedatastore call in config local to an updatewid call