update terrain heightmap