refactor(topicData): update method

Signed-off-by: A. Prooks <aprooks@live.ru>
Merge pull request #47 from aprooks/feature/topics

refactor in topicData