Updates graph plotting positions.