time only updating if changed