add method .setSelectedByName and update values