update xpsnippet