updated doc examples.
updated doc examples.