Update existing record for table with xdo format

UPDATE mvpw2_26
SET xdo->>'Type' = jsonb_set(xdo, '{Type}', '{{playerEarningLog.changesetArray[0].type}}')
WHERE id = 1857;

Can someone help me with correcting this query? I am not sure how do I set the Type value to the value from the changesetArray ?

@victoria Would you be able to help me here?