Update cancellation logic