update c.snippet