update value on checkboxes