update rpc port number