Don't set doc.id when updating

Back out the last change and don't set the id property on the doc object
when updating