We could probably do this inside the same SQL operation:

```ruby
update_hash = conditions(a, b, c, d)
update_hash.merge!(:updated_at => Time.now.utc) if @instance.respond_to?(:updated_at)
nested_set_scope.where(where_statement(a, d)).update_all(update_hash)
```