update provider snippet, fix broken snippets