updated Application controller