update statistics for all the topics