update injection of waveform