update the IndexBuilder.java