update collection index