added updated example to docs.