Remove usage of non existent variable in update_examples()

As discussed at the end of #33.
Merge pull request #39 from jrha/fix-build-examples

Remove usage of non existent variable in update_examples()