modify upgrade file