'Update the timestamp for the given object.'

def __set__(self, obj, timestamp):

    if (obj.id is None):
        raise exception.ResourceNotAvailable(resource_name=obj.name)
    o = self.db_fetch(obj.context, obj.id)
    o.update_and_save({self.attribute: timestamp})
