update some colors and weights