src/KapApigility/EntityRepositoryResource.php
public function update($id, $data)
    {
        $data = $this->sanitizeData((array)$data);
        return $this->getRepository()->update($id, $data);
    }
public function update($id, $data)
    {
        $data = $this->sanitizeData((array)$data);
        return $this->getRepository()->update($id, $data);
    }
Update a resource

@param  mixed $id
@param  mixed $data
@return ApiProblem|mixed