How to get array positions at doc using N1QL?

I needed to make multi update at docs where data is contained inside an array (route doc with schedule at travel-sample bucket as an example). I tried using-array-index-to-speed-up-update-query with array index and indeed it’s more slower than sub-doc with mutation. You are right.