Update energy wave.lua