updating Application class and application.properties