Text this: Online learning to accelerate nonlinear PDE solvers: Applied to multiphase porous media flow