set environmental variable with the new version