Heterogeneity, Inattention and Bayesian Updates