use pathMap for udating indices in #each bindings instead of the previous patchCtx