update worker number