How to update tubeGeometry geometry based in lineCurve modifications?

You can also look at Multi Form Geometry

UPDATE:
Also, these posts might be interesting for you to understand.
[Solved] Help with wrong position meshes along a curve