updated broker module