Update libraries directory