update index bg color