# File lib/sdb/active_sdb.rb, line 798
            def put_attributes(attrs)
                attrs = uniq_values(attrs)
                prepare_for_update
                # if 'id' is present in attrs hash:
                # replace internal 'id' attribute and remove it from the attributes to be sent
                @attributes['id'] = attrs['id'] unless Aws::Utils.blank?(attrs['id'])
                attrs.delete('id')
                # add new values to all attributes from list
                connection.put_attributes(domain, id, attrs) unless Aws::Utils.blank?(attrs)
                connection.put_attributes(domain, id, { 'id' => id }, :replace)
                attrs.each do |attribute, values|
                    @attributes[attribute] ||= []
                    @attributes[attribute] += values
                    @attributes[attribute].uniq!
                end
                mark_as_old
                attributes
            end