Graphing algorithm update