Updated speed variable