Update main controller