add collection dataset to the document