Save before refactoring array update