update tex source file