Updating the tex file