update time and strain