Update speed based on running or not