add specified package version number for each dependency