refresh select menu when options changed