Function updateBroker