update index and style
update index and style