def update(args = {})
      # hash arguments kept for backwards compatibility
      return @data if args.empty?

      org = args[:organization] || account.username
      box_name = args[:name] || @name

      data = @client.request('put', box_path(org, box_name), box: args)

      # Update was called on *this* object, so update
      # objects data locally
      @data = data if !args[:organization] && !args[:name]
      data
    end
def update(args = {})
      # hash arguments kept for backwards compatibility
      return @data if args.empty?

      org = args[:organization] || account.username
      box_name = args[:name] || @name

      data = @client.request('put', box_path(org, box_name), box: args)

      # Update was called on *this* object, so update
      # objects data locally
      @data = data if !args[:organization] && !args[:name]
      data
    end
Update a box

 @param [Hash] args
 @param [String] org - organization of the box to read
 @param [String] box_name - name of the box to read
 @return [Hash] @data