update docs with working example