Add incremental upgrade steps for 4.0.19, 4.2.1, and 4.2.2