Refresh graph on page load