Rehost Tags to Different Element?

Revit only allows me to rehost tags one at a time. I would like to be able to select multiple tags, run a script, select an element. And have all the tags hosted by that element. Is there a way in Dynamo to change the host of a tag?

My initial solution is to get the tag locations and types. Delete the tags, and create new ones at the same place. But this seems over complicated if there is Python or Dynamo way to simply assign a new host element.

Nvm, I tried with deleting and replacing new tags and it works fine.

For documentation, here is the graph how to rehost: