updates for form submit