update heightmap class