update scope of all snippets