Z axis travel and steps

If you want to change the steps per mm this is how you do it.

Calibrating my X-carve 1000 - X-Carve - Inventables Community Forum

If you need to change direction:

How do I INVERT the Y and Z Axis of my GRBL CNC? Arduino UNO - CNC Routers / DIY CNC - Maker Forums

GRBL_Settings_Pocket_Guide_Rev_B.pdf (diymachining.com)