Update WorkerEndpoint.java