Update Latex Code