Update examples

This pull request updates the examples to the latest API, and adds labels to two of the vector examples.