Used world.refreshChunk(x,z) as suggested by ZachBora. Not tested!
Added refresh capability to setBiome(w, id, b)