How Do I Re-register workflow and activity

Hi,

I’m doing changes in my workflow and activity frequently because it’s still in development.
I observe that if I modify the workflow params (passing struct and modifying that struct) then it’s giving error.
Same thing is happening with activity. I’m using struct (which has receiver method) to register all activity and it’s not recognizing the some of the activity.
Does temporal register these things somewhere and if it changed later it’s not updated?

Thanks,