Updating Layout on Event/Button Click

Is it possible to update a layout based on an event or button click?

Suppose that I have a button that can increase the number of charts on the webpage.

When I click on the button I want to create a new chart, so I would need a way to update the layout, and update asap on the webpage.

https://dash.plot.ly/live-updates has something similar, but only updates the page during a page reload.

I thought about using a button to refresh a webpage with a button click, for example update a backend database that keeps the number of charts a user has, and then perform a page refresh after updating a db.

However, I have not find a way to forcefully refresh a webpage.

Can anyone point me to the right direction?

Thanks

I have the same problem. Do you find a way to solve it? I know it has been a long while since you asked this question.