UUpdateWidget: fix some problems with memory leak