switched to steams for event notification
Updated examples to use steams