Update plugin-events.md

Fixed some typos and the boot function