modify waiting time