update the worker config