updating keyboard rates