def update
    @topic = Topic.find(params[:id])
    authorize @topic

    if @topic.update(topic_params)