change style index