correctly update biases