Update document refs