Find instructions on patching (upgrading) the Zonemaster database on https://github.com/zonemaster/zonemaster/blob/master/docs/public/upgrading/backend.md