Stashing changes before system upgrade