Custom carb.event not triggering function

Hi, following this documentation Event streams — kit-manual 105.1 documentation I have modified the sample extension to test how the custom events work, but I’m not able to trigger the event. Am I missing something?
Testing it on usd_explorer 2023.2.1

import omni.ext
import omni.ui as ui
import carb.events
import omni.kit.app
import logging
logger = logging.getLogger(__name__)

UPDATE_CLICK_EVENT = carb.events.type_from_string("UPDATE_CLICK") 


class CompanyHelloWorldExtension(omni.ext.IExt):

    def on_startup(self, ext_id):

        bus = omni.kit.app.get_app().get_message_bus_event_stream()

        def on_event(e):
            logger.warn("on_event")
            logger.warn(e.payload)

        sub1 = bus.create_subscription_to_push_by_type(UPDATE_CLICK_EVENT, on_event)

        sub2 = bus.create_subscription_to_pop_by_type(UPDATE_CLICK_EVENT, on_event)

        self._window = ui.Window("My Window", width=300, height=300)
        
        with self._window.frame:
            with ui.VStack():
                label = ui.Label("")
                def on_click():
                    logger.warn("before event")
                    bus = omni.kit.app.get_app().get_message_bus_event_stream()
                    logger.warn(UPDATE_CLICK_EVENT)
                    bus.push(UPDATE_CLICK_EVENT, payload={"data": 2, "x": "y"})
                
                def on_reset():
                    logger.warn("before reset")
                    bus = omni.kit.app.get_app().get_message_bus_event_stream()
                    logger.warn(UPDATE_CLICK_EVENT)
                    bus.push(UPDATE_CLICK_EVENT, payload={"data": "reset"})

                on_reset()

                with ui.HStack():
                    ui.Button("Add", clicked_fn=on_click)
                    ui.Button("Reset", clicked_fn=on_reset)

    def on_shutdown(self):
        print("[company.hello.world] company hello world shutdown")