commented out removal of document.id when updating occurs.