update gpio setting