updates config and worker