How to change color on the travel path unreal engine4

i create that function in construction script then it create static mesh . but when changing offset then nothing happened. Where to call that custom events UpdatematerialGradients instance and ADDSMCs.