The Illuminator touched on some of this, but I just had a thought that I hope I can express.
For a long time, religion had a profound affect on science. Scientists often started with the assumption that god did certain things, or the stars told a story. So they started from a false point. Then if a scientist did disregard what religion insisted was true, like the earth was the center of the universe, he/she made powerful enemies and risked his/her life.
Science progressed to the point that certain facts could no longer be disputed. Who changed? Religion. Science is now shaping religion.
Suddenly scriptures that have been proven wrong are merely 'misunderstood' and the understanding of them are updated. Science moves forward. Soon it becomes more than simple misunderstanding, because even the reinterpretation is at odds with science. Now these scriptures are simply allegorical, symbolic, dispensing some lesson not facts. Is Genesis wrong? No need to bin Genesis---it now becomes sybolic.
Science has reconstructed all religions, but religion has no impact (or very little--we are still working on it) on science. And every time, science has turned out to be correct, or at least more correct, forcing religion to change its path.
Some of us just choose not to have our science filtered through relgion's slow moving sieves anymore. Religion has never disproved science---even when science gets things wrong, that is learned through more science, never religion. Religion, on the other hand, has been at the mercy of science for quite some time now, and she got slapped around.
Fundamental religion has changed too. Science changed it. They have become more dogmatic, shrill and power hungry. The only way they can hold onto their religion is to enforce intentional ignorance---which they do regularly among their own and try to prevent science from being taught to others. They cannot abide by science correcting their relgion. The fundie movements are pretty new, and if I remember correctly, really didn't make a significant appearance until after Darwin came up with his theory. But these people are at increasing odds against the enlightened world, and that gap will continue to grow. It's an epic struggle that I don't think they will win. But until they give up, they will come out of their caves now and then and poke science with sticks and lob rocks at it.
But for the more reasonable believer, science will change your religion every day. It is no longer recognizable as your religion even 200 years ago. There seems to be something incredibly faulty or false about a god that is so suseptible to science. His story much change with each new discovery. Rather than defining himself, he leaves it up to scientists, and then believers to process what science has found and do some damage control.
Science is not religion, but it has rendered many scriptures completely irrelevant or simply false. Those who wish to believe, are on the job constantly patching up the damage and reworking their beliefs to stay relevant. I suspect there will be another tipping point. There will come a time when people wonder what value there is in hanging onto beliefs that fall and change at the whim of science. They will wonder about the substance behind these beliefs. They will see them as fragile and in need of constant maintenance and repair. And like any beloved possession, eventually upkeep becomes so difficult, it needs to be put aside.
But then humans are not rational. So they may hang on for much longer than anyone would expect. The real danger is science, through no fault of its own, is breeding fundamentalists who are becoming more angry and hostile. And they got stones.