updating Application main class