Update libraries from upstream