Just copied and pasted. I don't think $wpdb::update() supports WHERE .. IN?
Should be OK to use update though as I don't think we'd need to accept and array of cart IDs in this instance.