Hello.
The upgrade procedure is fairly straightforward.
It would be recommended to power down the cluster first, the member nodes before the master. Once offline, take snapshots of the appliances for any disaster recovery type scenario.
Bring the cluster back online.
You would then log in, click on the tools icon (wrench/screwdriver icon) and select "Update software".
It should say 4.0 is available. Proceed with the upgrade.