Optimal Recursive Estimation of Dynamic Models