updating topics map