Update snippets controller, make it work again.