Fixed issue with upgrade file.