Update the state of the libraries.