updates application class