updated timeDelta