update inputSelect