Updates the tex snippets