Hollywood is changeable place, and these franchises know how maintain a successful streak despite changes in the cast and creative teams.
The Harry Potter film series took the world by storm in 2001 and was successful enough to incorporate new directors like Alfonso Cuarón (who took over after Chris Columbus) as well as, poignantly, handle the loss of Richard Harris, the original Albus Dumbledore, was later replaced by Michael Gambon.