update contact form for error checking