Update pin number