add MergeDoc method correct update