added the "update" part of Broker#applyUpdate
cleaned up a little