public function updatePlan($planCode, $updateData)
    {
        return $this->getPlanModel()->getPlan($planCode)
            ->setUpdateData($updateData)
            ->save();
    }
public function updatePlan($planCode, $updateData)
    {
        return $this->getPlanModel()->getPlan($planCode)
            ->setUpdateData($updateData)
            ->save();
    }
public function updatePlan ( $ planCode , $ updateData ) { return $ this -> getPlanModel ( ) -> getPlan ( $ planCode ) -> setUpdateData ( $ updateData ) -> save ( ) ; }
Update plan.

@param $planCode
@param $updateData

@throws \Exception|mixed
@throws null

@return mixed
Update plan .