HI there
You would change it with the M92 command
Michael from teaching tech on YouTube has an awesome calibration procedure he created for setting this up.
https://teachingtechyt.github.io/calibration.html
Basically you would figure out what the new e-steps are for your Z-axis and input them using the M92 command through a console.
Hope this helps
Jason H