updated pins to board mode