update code to specify the version of the packages