Re-register juju machine

After migrating a model to another controller one machine for some reason failed to update its agent.conf file and kept the config of the old controller. Any suggestion on how to “register” the machine to the new controller without redeploying it ?