Updated preUpdate example in events doc
Merge pull request #813 from solocommand/patch-1

Updated preUpdate example in events doc