update inputSelect data structure