add document
merge local