def update(*args)
      arguments(args, required: [:id]) do
        permit VALID_KEY_PARAM_NAMES
      end
      patch_request("/user/keys/#{arguments.id}", arguments.params)
    end
def update(*args)
      arguments(args, required: [:id]) do
        permit VALID_KEY_PARAM_NAMES
      end
      patch_request("/user/keys/#{arguments.id}", arguments.params)
    end
Update a public key for the authenticated user

 @param [Hash] params
 @option [String] :title
   Required string
 @option [String] :key
   Required string. sha key

 @example
  github = Github.new oauth_token: '...'
  github.users.keys.update 'key-id', "title": "octocat@octomac",
    "key": "ssh-rsa AAA..."

 @api public