Re-create task variables

Hi,

I made an update to the UserTask and respective migration of the BPMN, where i changed the script of a certain Input variable/parameter. There’s any way of update (using REST API) these instances of the UserTask to make them re-create the input variables/parameter? Something like trigger the task to re-create the variables using now the corrected script?

Thanks for your time!