update with snippet