Extacting only one element from a nested array of objects, where the object satisfies property

UPDATE db AS e 
SET c.prcoess.firstName = "xyz" FOR c IN e.aCtxList  WHEN c.process.id = "b99099fc-fb50-408d-a506-388493fd4d46"  END
WHERE  ANY v IN e.aCtxList  SATISFIES v.process.id = "b99099fc-fb50-408d-a506-388493fd4d46" END;

Check syntax diagram of UPDATE (update-for FOR ARRAYS ) posted below link

Last example: