Update snippet.getresources.php