added upgrading of collections