update style index
update style index