update index fix style