### Elasticsearch Version

main + all released versions back to 7.9

### Installed Plugins

_No response_

### Java Version

_bundled_

### OS Version

n/a

### Problem Description

It was observed that some transforms behaved badly after the update of **another** (unrelated) transform.

### Steps to Reproduce

1. Update the settings of one transform
2. Observe how these settings get effective for **another** transform

### Logs (if relevant)

_No response_
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/transform/action/UpdateTransformAction.java
}
        public void setAuthState(AuthorizationState authState) {
            this.authState = authState;
        }
        @Override
        public void writeTo(StreamOutput out) throws IOException {
            super.writeTo(out);
            update.writeTo(out);
            out.writeString(id);
            out.writeBoolean(deferValidation);
            if (config == null) {
                out.writeBoolean(false);
            } else {
                out.writeBoolean(true);
                config.writeTo(out);
            }
            if (out.getTransportVersion().onOrAfter(TransportVersions.V_8_8_0)) {
                if (authState == null) {
                    out.writeBoolean(false);
                } else {
                    out.writeBoolean(true);
                    authState.writeTo(out);
                }
            }
        }
        @Override
        public int hashCode() {
            
            return Objects.hash(getTimeout(), update, id, deferValidation, config, authState);
        }