SERVER-10159 Re-use Document objects during update loop and logging