support doc param for partial update