Update to kvlayer 0.4.0