Argumentation and belief updating in social networks: a Bayesian approach