Added logics to update and create snippets on SnippetsConfigWidget