Add and recommit index