update index format, add right class loader