Update to use the last apis of various dependencies.