update record xml