Update index context.