support for updating UI after changes made to the select element

Example:

// add a disabled attribute to some options based on the value:
var select = $(mySelectElement);
select.find('option[value^="p-"]').attr('disabled', 'disabled');
// refresh the ui
select.selectpicker();

select.selectpicker();