added ability to update server mode from AdminWorker