Dynamic Epistemic Semirings