use abs to calculate the timediff between two updates instead of a weird check