changed subscr to db or w and fixed a broker_update bug