There's a potential race here, where `db.updateSeq++;` could be called before it's set.  (I know because I saw the same thing with `docCount`.)  Luckily it should be an easy fix; we can just do `db.updateSeq += !err ? value : 0`, right?