[SOLVED] Height map

Hey guys, I’m obviously new here to jME, I’ve built out a good prototype of what I want but from the help I found online I am only able to build a heightmap that is static.
I’m having a hard time figuring out how to have the height map update it’s height data through each game iteration.
I know how to do that from the AbstractHeightMap, but the TerrainQuad I’m using seems to be having a hard to responding to changes.
I tried directly setting the heights using setHeight on the quad but that causes the program to freeze up even after unlocking the quad. But from the looks of it it seems that the quad has it’s own height data as well as the height map data. Which should I update?
I don’t feel like this is the way to do it. Do I have to recreate the quad each time?

Never mind, I know what I was doing wrong. I just needed to use terrain.setHeight(locations, heights);