def update
    respond_to do |format|
      if @client_type.update(client_type_params)
        format.html { redirect_to @client_type, notice: 'Client type was successfully updated.' }
        format.json { head :no_content }