Over the years, religion changes its opinion on teachings yes, but usually its a forced change perhaps from a legal perspective ( think Bulgaria) Its not very often you have a religious leader say "sorry we got that bit wrong, this is version 2 and its much better" and they never say why a teaching has been changed, just mask it as new light.
Science is always subject to other scientists who review whats being presented and re examine it for holes and weaknesses. When a hypotheses is presented it is tested again and again. These ideas are only kept if supported by testable evidence. The unsupportable ideas are discarded. That is the core of science.
I completely undestand about some scientists being dishonest, especialy if they get recognition out of it, but the core methods will always find them out and they are exposed.
I think it comes down to trust. Religion or science. I wouldnt jump off a building without a parachute. Overlapping generations. Take your pick.