add a new document logical