Update add case worker code