update color functions