# File lib/aws/auto_scaling/group.rb, line 311
      def update options = {}

        group_opts = group_options(options) 

        # tags must be updated using a separate request from the
        # other attributes, *sigh*
        if tags = group_opts.delete(:tags)
          tags.map(&:to_hash).each do |tag|
            tag[:resource_type] = 'auto-scaling-group'
            tag[:resource_id] = name
          end
          client.create_or_update_tags(:tags => tags)
        end

        unless group_opts.empty?
          client_opts = group_opts.merge(:auto_scaling_group_name => name)
          client.update_auto_scaling_group(client_opts)
        end

        nil

      end