updates to query snippets