Added the ability to update the PID