update index style.