update data with put method, add radio button widget.