add document version