commit del logic