fix radio button update bug