Nested arrays how to do query and update?

Thanks for the detailed explanation.