update var snippets