support doc param for partial update
Merge pull request #36 from stevesie/master

support doc param for partial update