quick update to gain value