update index style