contact form updated with its function