updated docs in samples