add struct document and item_document