update event handling and publishing