Updates the coloring