Dialogue Plugin

Just wondering if there is a way to use an event condition to change the name variable in the dialogue? Can access it fine, but there’s no set name available. I want to use it to change an NPCs name half way through a conversation after the player discovers their name.
Any help appreciated!