update by delete