Added onchange to input field for testing