I'm pretty sure that the update does not change the diags partition. At least, after reverting to 5.0.0, then updating to 5.1.0 using
this method, SSH was still available on the diags partition.
There might have been some file updates though. If noone else does it till then, I'll send you a dump when I get back home (still some 6-8h to go).