change number of libraries