Fixed upgrade file