Reward prediction errors shape not only decisions but also memory. — Synthesis