updating tex snippets