[2309.07053] Pearl's and Jeffrey's Update as Modes of Learning in Probabilistic Programming