Update ObserverService.java file.