Update gadget removing $wnd