public function customFieldsAction()
 {
     $data = $this->_checkAndGetListData('update_custom_fields', true);
     if (!$data['customFields']) {
         throw new InvalidArgumentException('Bad Request. Malformed Json. parameter {customFields} is required');
     }
     $customFields = new \Application\Model\Sim\CustomFieldsModel($data['customFields']);
     $dumpSim = new SimModel($customFields->exportData());
     $this->_helper->filterNotAllowedFields('update_field', $dumpSim);
     $customFields = new \Application\Model\Sim\CustomFieldsModel($dumpSim->exportData());
     if (!$customFields->exportData()) {
         throw new \Application\Exceptions\ForbiddenException("You don't have permission to change this fields");
     }
     $watcher = $this->_simSrv->updateCustomFields($customFields, $data['list']);
     $this->_helper->filterNotAllowedFields('read_field', $watcher);
     // Respond with the watcher
     $this->view->watcher = $watcher;
 }