Update mail template
Resetting submit button on error