ai document version control