updates to snippets_spec and related libs