Update write_form.php