PKHeX works properly. As I already said, you need to change the values for current model appearance. PKHeX already lets you change PlayerAppearance and PlayerFashion via the Block Data editor.
The save editor script you mentioned uses leaked source code/information (not legal) in its implementation, and I refuse to read/reference it. Changing the player's appearance/fashion automatically when gender is changed requires someone to dump the default fashion/appearance and implement it in a pull request. It is not worth my time as other featurese are much more important, and such a feature primarily is only useful for players who are using other people's save files (more frequent in pirated game copies).