modify data of graph coloring