code: def update(self, data):
          
          # If the instance was terminated, remove it
          updated = self.set_property('state', data['state'])
          updated |= self.set_property('notes', sorted(data['notes'] or []))
          updated |= self.set_property('last_notice', data['last_notice'])
  
          if updated:
              self.set_property('last_change', datetime.now())
  
          return updated
docs: Updates the object information based on live data, if there were any changes made. Any changes will be
          automatically applied to the object, but will not be automatically persisted. You must manually call
          `db.session.add(instance)` on the object.
  
          Args:
              data (:obj:): AWS API Resource object fetched from AWS API
  
          Returns:
              `bool`