upgrade dependency libraries to the latest versions