update plot_gain _init_ plot