Fix another variable name typo in core.update_topic