def update
    respond_to do |format|
      if @citation_topic.update(citation_topic_params)
        format.html {redirect_back(fallback_location: (request.referer || root_path), notice: 'Citation topic was successfully updated.')}
        format.json { render json: @citation_topic, status: :ok, location: @citation_topic }