updating Application class