changed update delay time to constant