jquery trigger after updateSnippet