local.c_update is faster, saving indexes in separate files