update single index file