Create delete document method