Optimization of reload_index