Update snippet.scala