Samsung makes one of the best displays in the world and phones are known to get hot even at room temperature when they are updating. The best cause of a green line appearing on the screen is because you might have also put the phone on charge while u...
Phone updates can heat up phones, you should have kept it in an open space or open the case and put the screen on the bottom. From what I am seeing, it is your fault.