wrap deletion of topic types in transaction