update pin numbers