update wait timeout