updated the form so it is working