update topk with datagen