add chunk to index