How to update tubeGeometry geometry based in lineCurve modifications?

For dynamic changes of the geometry, the vertices must have an update.

.attributes.position.needsUpdate = true;