public function updateInputConcepts(array $conceptsArray, $action)
    {
        $data['inputs'] = [];

        foreach ($conceptsArray as $inputId => $inputConcepts) {
            $input = [];
            $input['id'] = (string)$inputId;
            $input['data'] = [];
            $input['data'] = $this->addImageConcepts($input['data'], $inputConcepts);

            $data['inputs'][] = $input;
        }
        $data['action'] = $action;

        $updateResult = $this->getRequest()->request(
            'PATCH',
            $this->getRequestUrl('inputs'),
            $data
        );

        return $this->getInputsFromResult($updateResult);
    }