Updated apiCtrl