# Is there a possibility to skip the tuple-diff check at update-changesets?

**URL:** <https://discourse.rom-rb.org/t/is-there-a-possibility-to-skip-the-tuple-diff-check-at-update-changesets/575>\
**Category:** Issues\
**Created:** [December 22, 2022, 8:23am UTC](https://discourse.rom-rb.org/t/is-there-a-possibility-to-skip-the-tuple-diff-check-at-update-changesets/575 "2022-12-22T08:23:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wuarmin](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.rom-rb.org/wuarmin/32/233_2.png) [@wuarmin](https://discourse.rom-rb.org/u/wuarmin)\
**Post date:** [December 22, 2022, 8:23am UTC](https://discourse.rom-rb.org/t/is-there-a-possibility-to-skip-the-tuple-diff-check-at-update-changesets/575/1 "2022-12-22T08:23:30Z")

</div>

Hey,  
I want to use the update changeset, but want to skip the tuple-diff-check, which results in a extra sql, of the tuple, which is too expensive?  
Is that possible? Or do you recommend not using changesets in that case?

What do you think about following workaround (using command and changeset)?

```ruby
update(id, items.changeset(Changesets::UpdateObjectChangeset, item).to_h)

```

Here’s my custom changeset:

```ruby
module Test
  module Repositories
    module Changesets
      class UpdateObjectChangeset < ROM::Changeset::Update
        include Deps["current_time"]

        map do |tuple|
          tuple.except(:id, :created_at).merge(updated_at: current_time)
        end
      end
    end
  end

```

**Another related question** :  
How to apply the changeset to an array of tuples? Following…

```ruby
items.changeset(Changesets::UpdateObjectChangeset, items) # items is an array

```

fails with …

```plaintext
NoMethodError:
       undefined method `except' for [] at the custom changeset

```

Thanks
