Changed event handler from click to change for form updating