updates and data to graph handling