update top n topics