update latex file