def update
    @term = Term.find(params[:id])

    respond_to do |format|
      if @term.update_attributes(params[:term])