Retroactive continuity
Retroactive continuity, or retcon, is when some detail in a fictional story, such as a movie, TV, or book series, is added, changed, or ignored in a later part of the series. It can happen for several different reasons, like fixing a plot hole or getting rid of a detail that was disliked by many people.
There are a few main types of retcons.
The first is addition. This is a new detail added to give the reader or viewer a new understanding of the story. This detail would not have been planned when a series was first being made. For example, many people who watched Star Wars Episode IV: A New Hope complained that the Death Star had an easily spotted and poorly placed weak point. This made it easier to be destroyed. George Lucas, the writer of Star Wars, did not have an explanation why. However, the writers of its prequel, Rogue One, later explained this. They wrote the story so that character Galen Erso, who is the main character Jyn Erso's father, made its weak point easily seen and poorly placed on purpose. He did this so he could help the Rebel Alliance destroy it.
The second is alteration. This is a detail goes against details already given. This is called a contradiction. For example, in Metal Gear Solid 2, the villain Revolver Ocelot tells the main character Solid Snake that Big Boss was in his late fifties when he gave his genes to make clones. This was the year 1972. However, in the prequel Metal Gear Solid 3, Big Boss is the main character. The game is set in 1964, but Big Boss is nowhere even close to being in his late forties or early fifties, which is how old he is supposed to be.
The third is subtraction. This is a detail that gets ignored or forgotten later in a series. For example, in the movie X-Men Origins: Wolverine, the villain Colonel Stryker experiments on the superhero Deadpool and turns him into Weapon 11. This made fans of Deadpool so unhappy that when the Deadpool movie came out it completely ignored the story given in X-Men Origins.