fix missing event
update example