update main tex