fixed events notification - added trigger example