Update send an email on form submit