Added automatic refresh of the graph html