Fixed code snippets
Updated some dependencies