edit index, style