update function linkedWidget of box to link  customview