added 422 upgrade class, moved prepare_upgrade to mungerate in base clas...

...s