fix topic updating

Fix for topics issue @saschaben  noted today. Please deploy to ilios-dev for his review once merged to master.