how can i use two onChange function in the same component