How to replace a fuel sensor in a boat

How to replace a fuel sensor in a 2000 2859 Bayliner. Fuel gauge did not work and was able to order a new sending unit from amazon. In this video I remove and replace the unit and get the fuel gauge working again. I am not a boat mechanic and am surprised I didn't blow myself up.