update examples to show how to use options