Update PublishService.java