PID controller update