Adding form submission on change