Update many objects at the same time

I have many identical objects. What is the best approach to update them at once. Something like this fiddle. In the fiddle the objects few and it’s okay to run for cycle for them. But if I have many of objects is this the best approach?

Any suggestions?

https://threejs.org/examples/?q=inst#webgl_instancing_dynamic

Is this the only way, with InstancedMesh and InstancedGeometry ?