Update worker.class.php