Updated broadcast code

Updated broadcast code