'Set the datastore interface object for the roster item.
Arguments:
db   -- The new datastore interface.
save -- If True, save the existing state to the new
backend datastore. Defaults to True.'

def set_backend(self, db=None, save=True):

    self.db = db
    if save:
        self.save()
    self.load()
