update the worker status in the workerStatusMap