update way to bind on form submits