Remove unused parameters in upgrade file