finished adding editing to the form.