update doc with example