change root index