updated the selectInput() behavior, using the callback