Updated delete action.