def update(*args)
      arguments(args, required: [:user, :repo, :number]) do
        permit VALID_MILESTONE_INPUTS
      end

      patch_request("/repos/#{arguments.user}/#{arguments.repo}/milestones/#{arguments.number}", arguments.params)
    end
def update(*args)
      arguments(args, required: [:user, :repo, :number]) do
        permit VALID_MILESTONE_INPUTS
      end

      patch_request("/repos/#{arguments.user}/#{arguments.repo}/milestones/#{arguments.number}", arguments.params)
    end
Update a milestone

 @param [Hash] params
 @option params [String] :title
   Required string. The title of the milestone
 @option params [String] :state
   The state of the milestone. Either open or closed. Default: open.
 @option params [String] :description
   A description of the milestone
 @option params [String] :due_on
   The milestone due date. This is a timestamp in ISO 8601 format:
   YYYY-MM-DDTHH:MM:SSZ.

 @example
   github = Github.new
   github.issues.milestones.update 'user-name', 'repo-name', 'number',
     :title => 'hello-world',
     :state => "open or closed",
     :description => "String",
     :due_on => "Time"

 @api public