updated to document store syntax