update graph_slice each iteration added