update pulse shape