Wyślij wiadomość: A general framework for updating belief distributions