update index colors