update for deletion