Update number of topics (why is this static?)