update pins and pwm connection