Update objects based on nested objects’ fields

Not looking to upsert but rather:


type Account  {
  id: String! @id
  idFromSource: String!
}

type Detector  {
	id: String! @id
	account: Account!
    disabled: Boolean
    disabledBy: DisabledBy
}

I want to update all detectors where Detector.account.idFromSource == "some-id"