Restarted() custom action to ignore resetting of all the slot

Hi,

I need to restart the bot but I don’t want to reset any of the slots except the events. I see there a way to update the tracker. So is there any blog/example to update the tracker?