add in related doc IDs to document template