edit style on index