add document to the project