add listener for EventType.SAVE and EventType.UPDATE