update graph_slice every iteration add