Update snippet definition