reload graph every ten seconds