Update Nigel's serial code