def update
    respond_to do |format|
      if @phrase.update_attributes(phrase_params)
        format.html { redirect_to @phrase, notice: 'Phrase was successfully updated.' }
        format.json { head :no_content }