add methods to delete document