Main tex file update