update doc and examples for method rename