set topicid on republished