add the learning rates to the global state