the graph will now display new data as it's added to the database