Updates the referenced libraries.