update waiting time