udpate snippets