def update(*args)
      arguments(args, required: [:user, :repo, :label_name]) do
        permit VALID_LABEL_INPUTS
        assert_required VALID_LABEL_INPUTS
      end

      patch_request("/repos/#{arguments.user}/#{arguments.repo}/labels/#{arguments.label_name}", arguments.params)
    end
def update(*args)
      arguments(args, required: [:user, :repo, :label_name]) do
        permit VALID_LABEL_INPUTS
        assert_required VALID_LABEL_INPUTS
      end

      patch_request("/repos/#{arguments.user}/#{arguments.repo}/labels/#{arguments.label_name}", arguments.params)
    end
Update a label

 @param [Hash] params
 @option params [String] :name
   Required string
 @option params [String] :color
   Required string - 6 character hex code, without leading 

 @example
   github = Github.new
   github.issues.labels.update 'user-name', 'repo-name', 'label-name',
     name: 'API', color: "FFFFFF"

 @api public