update comparison to take into account timestamp_in_millis