I see the problem now. ![]()
You have no choice but to use id.
So if your following issue is solved, then you won’t have any problem.
It is annoying to get a UID before updating it in GraphQL, but in DQL you can use Upserts and fetch UID into vars and then subsequently use it in a set block in a single call.
Checkout: Running DQL in GraphQL with Upserts.
P.S. Sorry can’t provide a working example.