Update snippet.php