update pin configuration