Update code on example page