Upgrade libraries