updating background coloring