insert should return document_id and not true/false so that links to parent (distribution document id) would work