fixed add and remove topic with mongodb updates