updating MainController
updating basicController