implement gadget update action