update color code