Use renderUI function within the server function to manage selectInput object.
Ex:
output$team_ = renderUI({ selectInput("team","Home Team",choices = unique(IPL %>% filter(season == input$season_team) %>% select(team1))) })
This function output is added in ui function to chnage input depending on another input from server function.