Upgrade libraries to latest versions