PID controller updated