add topic db calls