controller and foundation update