update the chosen js