Hi Mohamed
I’m a bit new here and so I would anticipate that someone might just reply with a more straight forward and/or easier solution … however, I’ll toss in my thoughts on how I would approach this.
I would do a Save As and make an IDML file (thus too what you’re working on next is a COPY and you won’t damage your original INDD file).
Then, I would open that IDML file in an XML editor (e.g., Text Wrangler, or Oxygen – the latter is what I use) and then look for the Cross References in the displaymap.xml file. You may at first be a bit overwhelmed at what all you find in here, however, if you find the Old filename that you’re trying to change to the New filename, you might just be able to figure out how to do a Find and Replace through the entire ‘archive’ (an IDML file is an archive of a whole lotta XML files).
Be cautious, though, and ALWAYS make sure that you’re modifying an IDML file that you don’t care if you destroy it by doing some incorrect edits in this way. Thus, always working on a Copy of a file. This is how I do the most of my trial-and-error investigating. If I totally goof up, then there’s no panic because it was merely a Copy of the file. In that case, trash it, and try again.
If you are able to find all the Old to New text strings to replace, then you’ll know if you’re successful when you then close the IDML file from the XML editor and double-click to open the IDML file in InDesign. If it opens without complaining and all your changes seem good, then, that might just be your fix.
Having said all that … I won’t be at all surprised if someone else chimes in with the PROPER way to fix this more easily and elegantly. ;)
Hope this helps.
Yours,
Allan