Added an update method so that when an item is updated it is reflected in the select. Added complete functionality for multiselect.