How to update component when button is clicked

Hello, I am having the same issue. I was wondering if you’ve found a solution to it?