updated examples to sync with docs