update doc example to use Get