Update example code
Merge pull request #29 from igas/fix-code-example

Update example code