update the topic name pattern