add duration for last job