def update
    respond_to do |format|
      if @edition.update(edition_params)
        format.html { redirect_to edition_path(@edition), notice: 'Edition was successfully updated.' }
        format.json { render :show, status: :ok, location: @edition }