updates examples to reflect current api and capabilities