Update examples to match current api