For this parameter (#steps/mm) for a given axis (Z in this case), it's not necessary to get into the firmware for now.
Using a software like Repetier Host or Pronterface or Cura…, you have to connect your printer and type :
where nnn is the appropriate value for your new configuration
M500 tells the printer to record/memorize this value.
That's all (for now).