adding wait to update script test