How to update the nested array object field and push an array with an object if array doesn't exist

Check the answer provided in the following as it seems more or less the same issue.

2 Likes