modifying root index