updates speed