change example to use correct emit event
Merge pull request #8 from skinofstars/master

change example to use correct emit event