update tex according to kashs comments