update delay time