update doc and examples

update doc and examples