plugins: example: fixed to follow new plugin format
Merge pull request #71 from cyphar/fix-example

Fixed example to be more modern