add new document.