Added update for Application class