Optimal Decision-making with Time-varying Evidence Reliability