update difftime