modify the widget of many to many