finalized latex changes and updated packages