[scripts] add helper for batched updates on non-indexed fields GitOrigin-RevId: d24c4ccfd9d112573ddf303655d4c8ac552f30a1