update_libraries_ls function

Update libraries list