Updates for graph plotting