Update scala snippets