Update doc example code
Merge pull request #478 from garborg/master

Update doc example code