fix broken links, update code example
Merge pull request #2 from cjwirth/master

fix broken links, update code example