diff --git a/debian/changelog b/debian/changelog
index 1618e5f..e782375 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+minetest-mod-nether (2+git20170104.bc2ccfb-1) UNRELEASED; urgency=medium
+
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 17 Sep 2019 20:13:22 +0000
+
 minetest-mod-nether (2-4) unstable; urgency=medium
 
   * Move Vcs-* to salsa.
diff --git a/debian/patches/update_config_api.patch b/debian/patches/update_config_api.patch
index 2669e27..78f653e 100644
--- a/debian/patches/update_config_api.patch
+++ b/debian/patches/update_config_api.patch
@@ -2,9 +2,11 @@ Description: update the config api use
 Author: Julien Puydt
 Forwarded: https://github.com/PilzAdam/nether/issues/28
 
---- a/init.lua
-+++ b/init.lua
-@@ -503,7 +503,7 @@
+Index: minetest-mod-nether/init.lua
+===================================================================
+--- minetest-mod-nether.orig/init.lua
++++ minetest-mod-nether/init.lua
+@@ -506,7 +506,7 @@ minetest.register_craftitem(":default:me
  	on_place = function(stack, _, pt)
  		if pt.under and minetest.get_node(pt.under).name == "default:obsidian" then
  			local done = make_portal(pt.under)
diff --git a/init.lua b/init.lua
index b874b26..51712e5 100644
--- a/init.lua
+++ b/init.lua
@@ -3,6 +3,7 @@
 local NETHER_DEPTH = -5000
 local TCAVE = 0.6
 local BLEND = 128
+local DEBUG = false
 
 
 -- 3D noise
@@ -13,7 +14,9 @@ local np_cave = {
 	spread = {x = 384, y = 128, z = 384}, -- squashed 3:1
 	seed = 59033,
 	octaves = 5,
-	persist = 0.7
+	persist = 0.7,
+	lacunarity = 2.0,
+	--flags = ""
 }
 
 
@@ -534,10 +537,11 @@ minetest.register_craft({
 
 -- Mapgen
 
--- Initialize noise object and localise noise buffer
+-- Initialize noise object, localise noise and data buffers
 
 local nobj_cave = nil
 local nbuf_cave
+local dbuf
 
 
 -- Content ids
@@ -589,7 +593,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
 
 	local vm, emin, emax = minetest.get_mapgen_object("voxelmanip")
 	local area = VoxelArea:new{MinEdge = emin, MaxEdge = emax}
-	local data = vm:get_data()
+	local data = vm:get_data(dbuf)
 
 	local x11 = emax.x -- Limits of mapchunk plus mapblock shell
 	local y11 = emax.y
@@ -678,6 +682,8 @@ minetest.register_on_generated(function(minp, maxp, seed)
 	vm:update_liquids()
 	vm:write_to_map()
 
-	local chugent = math.ceil((os.clock() - t1) * 1000)
-	print ("[nether] generate chunk " .. chugent .. " ms")
+	if DEBUG then
+		local chugent = math.ceil((os.clock() - t1) * 1000)
+		print ("[nether] generate chunk " .. chugent .. " ms")
+	end
 end)
diff --git a/textures/nether_brick.png b/textures/nether_brick.png
index 3e8c803..eae4e36 100644
Binary files a/textures/nether_brick.png and b/textures/nether_brick.png differ
diff --git a/textures/nether_rack.png b/textures/nether_rack.png
index 201a11a..bb77406 100644
Binary files a/textures/nether_rack.png and b/textures/nether_rack.png differ
diff --git a/textures/nether_sand.png b/textures/nether_sand.png
index 8ec343d..96fa6b9 100644
Binary files a/textures/nether_sand.png and b/textures/nether_sand.png differ