updating colors in the background