added into the index the type of the datapack