Fixed pins_controller update pin crashing error