Update commonSnippets.m