Update index with func type.