update immediately after color change