Update core/lib/form.php