Update smooth.php