Changed slave's upid to be the random generated one.