add documents and update info