Changing data in Automate Method type Ansible Tower Job Template

Hi, can you tell me if it is possible in a method like Ansible Tower Job Template to change Provider and Job Template data
using a script or api.
Since we have a problem during migration, the values ​​of these methods are lost.

Thanks