update on delete operation