updated index to the new structure