How can I update Text on Text Widget?

I was forgetting to make the variable in the “variable” section, instead I was making it in the local variable section