update show styles of index