update port number for randomness