def METHOD_NAME(self, date):
    date = int(date)
    # obj don't exit
    if not self.exists():
        self.set_first_seen(date)
        self.set_last_seen(date)
    else:
        first_seen = self.get_first_seen(r_int=True)
        last_seen = self.get_last_seen(r_int=True)
        if date < first_seen:
            self.set_first_seen(date)
        if date > last_seen:
            self.set_last_seen(date)