Changing temperature and pressure at the boundary wrt time

I have a real life case that i am trying to copy where the temperature of the gas at the inlet changes with time. I have found the usr1.f UDF and have tried to edit it such that i can change the boundary temperature at will but for some reason it doesn’t seem to work. I have been able to change the velocity at the boundary already but the temperature remains as what was set in the GUI. Can someone explain to me what i am doing wrong? if there are some other function i need to call that i am missing? Thank you.

I am also attaching the udf i was using to make it more clear. usr1.f (2.3 KB)