updating index style