updated form with adding records on submit