Updating document links