Changes the SQL accordingly for the SnippetTemplate's changes