update coloring