Recommendations on handling user session data?

I saw your post on youtube but I didn’t understand how it works, from what I saw in the videos there is a table data entry for Postgres, then the graph is updated by the table and not by Postgres.

I wonder:
In a scenario where we only display tables and graphs in the Dash, the page will not insert anything, just consume Postgres data.

1 - How would you display the data by pressing F5 on the keyboard?

2 - How would you display this data in real time if there is any modification in the Postgres database?

My problem today is that I only have this update if I stop the dash and restart it.