merging the doc to client