update gains