How to update a TubeGeometry with a new CubicBezierCurve3?

Do you mean something like this?

From the Collection of examples from discourse.threejs.org

DynamicTubeGeometryCaps