Update the class diagram adding the pattern desing singleton and
observer.