complete PubSub for db structure methods