opdating the latex document