public function saveImageSet($slug, $postValues)
    {
        $imageSetObject = ImageSetFactory::createImageSetFromPostValues($postValues);

        $imageSet = $this->repository->imageSet;
        foreach ($imageSet as $key => $set) {
            if ($set->slug == $slug) {
                $imageSet[$key] = $imageSetObject;
            }
        }
        $this->repository->imageSet = $imageSet;
        $this->save();
    }