update graph is now separate thread