public function update(UpdateImageRequest $request, $imageId)
    {
        return $this->imageRepository->update($imageId, $request->all());
    }
public function update(UpdateImageRequest $request, $imageId)
    {
        return $this->imageRepository->update($imageId, $request->all());
    }
public function update ( UpdateImageRequest $ request , $ imageId ) { return $ this -> imageRepository -> update ( $ imageId , $ request -> all ( ) ) ; }
Update image from form

@param UpdateImageRequest $request
@param $imageId
@return mixed
Update image from form