Update MainController, DataTable class, Search class.