updating document links