Added DeleteAttachment method to db and doc