single onChange for multiple inputs