update to confirm when delete