Update latex.template