Updated delete action