def update options = {}
      options.each{|k, v| public_send(:"#{k}=", v)}
      Swift.db.update(record, self)
    end
def update options = {}
      options.each{|k, v| public_send(:"#{k}=", v)}
      Swift.db.update(record, self)
    end
@example
   User.new(
     name:       'Apple Arthurton',
     email:      'apple@arthurton.local',
     updated_at: Time.now
   )
 @param [Hash] options Create resource and set attributes. <tt>{name: value}</tt>
 @example
   apple = User.create(
     name:       'Apple Arthurton',
     email:      'apple@arthurton.local',
     updated_at: Time.now
   )
   apple.update(name: 'Arthur Appleton')

 @param [Hash] options Update attributes. <tt>{name: value}</tt>