Update `backup' function