I have been trying to solve this scenario updating a nested array and tried a lot of ways, most are answers given here, but still cannot get the result I wanted.
I have t