Get these wrench ready, before the replacement begins.
1. Find this screw that fixes the base of Z limit switch, loose it with 3mm wrench, number four in the tool holder is.
2. Pull the plug of the switch out.
3. Loose the screw that fixes the switch with 1.5mm wrench, number 1 in the tool holder is.
4. Replace the switch, and reinstall everything.