Refresh libraries