An Approximately Bayesian Delta-Rule Model Explains the Dynamics of Belief Updating in a Changing Environment