updates graph making