Add missing and upgrade existing dependencies.