Database update with dash to create live bar chart

#1

I have connected the database to dash plotly.
I need to update my data live through the database to dash but, my data is not updating automatically, but I am to reconnect the database to dash by cutting the server.
But I need to automatically update the data without cutting the server