A general framework for updating belief distributions