fixed; document#update returns a Query

closes #1397
fixed; corrupted sub-doc array

closes #1408
release 3.6.2