updated docs to contain updated example