Update code on example page
Merge branch 'master' into gh-pages