Update code example to match code
Merge pull request #1 from sorennielsen/master

Update code example to match code