update graph html, doubles