Update vtkDataMesh4D with the same code