update index with valueStyle