Adding method for deleting a document