Fix update color attribute of bar graph