Update SmForm.php